package com.liqing.movecomment.vo;


public class UserRegisterVo {
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 真名
     */
    private String name;
    /**
     * 1是管理员，2是会员用户
     */
    private Integer level;
    /**
     * 头像地址
     */
    private String avatar;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 居住地
     */
    private String address;
    /**
     * 个人简介
     */
    private String description;

    //<editor-fold defaultstate="collapsed" desc="delombok">
    @SuppressWarnings("all")
    public UserRegisterVo() {
    }
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="delombok">
    @SuppressWarnings("all")
    public String getUsername() {
        return this.username;
    }
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="delombok">
    /**
     * 密码
     */
    @SuppressWarnings("all")
    public String getPassword() {
        return this.password;
    }
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="delombok">
    /**
     * 真名
     */
    @SuppressWarnings("all")
    public String getName() {
        return this.name;
    }

    /**
     * 1是管理员，2是会员用户
     */
    @SuppressWarnings("all")
    public Integer getLevel() {
        return this.level;
    }

    /**
     * 头像地址
     */
    @SuppressWarnings("all")
    public String getAvatar() {
        return this.avatar;
    }

    /**
     * 邮箱
     */
    @SuppressWarnings("all")
    public String getEmail() {
        return this.email;
    }

    /**
     * 居住地
     */
    @SuppressWarnings("all")
    public String getAddress() {
        return this.address;
    }

    /**
     * 个人简介
     */
    @SuppressWarnings("all")
    public String getDescription() {
        return this.description;
    }

    @SuppressWarnings("all")
    public void setUsername(final String username) {
        this.username = username;
    }

    /**
     * 密码
     */
    @SuppressWarnings("all")
    public void setPassword(final String password) {
        this.password = password;
    }

    /**
     * 真名
     */
    @SuppressWarnings("all")
    public void setName(final String name) {
        this.name = name;
    }

    /**
     * 1是管理员，2是会员用户
     */
    @SuppressWarnings("all")
    public void setLevel(final Integer level) {
        this.level = level;
    }

    /**
     * 头像地址
     */
    @SuppressWarnings("all")
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }

    /**
     * 邮箱
     */
    @SuppressWarnings("all")
    public void setEmail(final String email) {
        this.email = email;
    }

    /**
     * 居住地
     */
    @SuppressWarnings("all")
    public void setAddress(final String address) {
        this.address = address;
    }

    /**
     * 个人简介
     */
    @SuppressWarnings("all")
    public void setDescription(final String description) {
        this.description = description;
    }

    @Override
    @SuppressWarnings("all")
    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof UserRegisterVo)) return false;
        final UserRegisterVo other = (UserRegisterVo) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$level = this.getLevel();
        final Object other$level = other.getLevel();
        if (this$level == null ? other$level != null : !this$level.equals(other$level)) return false;
        final Object this$username = this.getUsername();
        final Object other$username = other.getUsername();
        if (this$username == null ? other$username != null : !this$username.equals(other$username)) return false;
        final Object this$password = this.getPassword();
        final Object other$password = other.getPassword();
        if (this$password == null ? other$password != null : !this$password.equals(other$password)) return false;
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
        final Object this$avatar = this.getAvatar();
        final Object other$avatar = other.getAvatar();
        if (this$avatar == null ? other$avatar != null : !this$avatar.equals(other$avatar)) return false;
        final Object this$email = this.getEmail();
        final Object other$email = other.getEmail();
        if (this$email == null ? other$email != null : !this$email.equals(other$email)) return false;
        final Object this$address = this.getAddress();
        final Object other$address = other.getAddress();
        if (this$address == null ? other$address != null : !this$address.equals(other$address)) return false;
        final Object this$description = this.getDescription();
        final Object other$description = other.getDescription();
        if (this$description == null ? other$description != null : !this$description.equals(other$description)) return false;
        return true;
    }

    @SuppressWarnings("all")
    protected boolean canEqual(final Object other) {
        return other instanceof UserRegisterVo;
    }

    @Override
    @SuppressWarnings("all")
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $level = this.getLevel();
        result = result * PRIME + ($level == null ? 43 : $level.hashCode());
        final Object $username = this.getUsername();
        result = result * PRIME + ($username == null ? 43 : $username.hashCode());
        final Object $password = this.getPassword();
        result = result * PRIME + ($password == null ? 43 : $password.hashCode());
        final Object $name = this.getName();
        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
        final Object $avatar = this.getAvatar();
        result = result * PRIME + ($avatar == null ? 43 : $avatar.hashCode());
        final Object $email = this.getEmail();
        result = result * PRIME + ($email == null ? 43 : $email.hashCode());
        final Object $address = this.getAddress();
        result = result * PRIME + ($address == null ? 43 : $address.hashCode());
        final Object $description = this.getDescription();
        result = result * PRIME + ($description == null ? 43 : $description.hashCode());
        return result;
    }

    @Override
    @SuppressWarnings("all")
    public String toString() {
        return "UserRegisterVo(username=" + this.getUsername() + ", password=" + this.getPassword() + ", name=" + this.getName() + ", level=" + this.getLevel() + ", avatar=" + this.getAvatar() + ", email=" + this.getEmail() + ", address=" + this.getAddress() + ", description=" + this.getDescription() + ")";
    }
    //</editor-fold>
}
